﻿using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;

using log4net;

[assembly: log4net.Config.XmlConfigurator(ConfigFile = "log4net.config", Watch = true)]	
namespace Nissen_Common
{

	public class Log4netManager
	{

		private ILog _log = log4net.LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
		private static Log4netManager _instance;
		public static Log4netManager Instance
		{
			get
			{
				if (_instance == null)
					_instance = new Log4netManager();
				return _instance;
			}
		}
		public  ILog Logs
		{

			get
			{
			
					return _log;
				
			}
			set { value = _log; }

		}

	}
}
